package com.tjise.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName EduApplication
 * @Description TODO
 * @Author tjise
 * @Date 2021/6/21 20:02
 * @Version 1.0
 */

@SpringBootApplication
@EnableDiscoveryClient // 注册进入nacos中
@EnableFeignClients // 调用微服务(调用端写)
@ComponentScan(basePackages = {"com.tjise"})
public class EduApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class, args);
    }
}
